<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <meta charset="utf-8">
        <title>BRA Montagens</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
        <link href="http://bramontagens.com.br/favicon.ico" type="image/x-icon" rel="icon" />
        <link href="http://bramontagens.com.br/favicon.ico" type="image/x-icon" rel="shortcut icon" />

        <?php
        echo $this->Html->css(array(
            '/font-awesome-4.1.0/css/font-awesome.min.css',
            '/bootstrap-3.2.0-dist/css/bootstrap.min.css',
            '/colorbox-master/example5/colorbox.css',
            '/jquery.bxslider/jquery.bxslider.css',
            '/css/bra.css'
        ));
        ?>
    </head>
    <body>
        <!-- menu inicio -->
        <div class="row">
            <nav class="navbar navbar-default" role="navigation">
                <div class="row">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <?php echo $this->Html->image('/img/logo.png', array('url' => '/', 'class' => '')); ?>
                    </div>

                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <div class="row">
                            <div class="col-md-9 menu_topo">
                                <ul class="nav navbar-nav">
                                    <li><?php echo $this->Html->link('Home', '/'); ?></li>
                                    <li><?php echo $this->Html->link('Institucional', '/institucional'); ?></li>
                                    <li><?php echo $this->Html->link('Atuação / Serviços', '/servicos'); ?></li>
                                    <li><?php echo $this->Html->link('Notícias', '/noticias'); ?></li>
                                    <li><?php echo $this->Html->link('Cases', '/cases'); ?></li>
                                    <li><?php echo $this->Html->link('Contato', '/contato'); ?></li>
                                    <li><?php echo $this->Html->link('Restrito', '/restritos'); ?></li>
                                </ul>

                            </div>
                            <div class="col-md-3 busca_form">
                                <form action="/conteudos/conteudos/buscar" id="ConteudosConteudosBuscar" style="display: inline-block; width: 87%; margin-top: 3px;" method="post" accept-charset="utf-8">
                                    <div style="display:none;">
                                        <input type="hidden" name="_method" value="POST"/>
                                    </div>
                                    <input name="data[Conteudos][buscar]" class="form-control" role="form" placeholder="Busca:" style="display:inline-block; width: 75%; margin-top: 3px;" type="text" id="ConteudosBuscar"/>
                                    <button form="ConteudosConteudosBuscar" name="Enviar" label="Enviar" class="btn btn-grey" type="submit">
                                        <i class="fa fa-search"></i>
                                    </button>
                                </form> 
                            </div>
                        </div>
                    </div><!-- /.navbar-collapse -->
                </div><!-- /.container-fluid -->
            </nav>
        </div>
        <!-- menu fim -->

        <!-- carousel inicio -->

        <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
            <!-- Indicators -->
            <ol class="carousel-indicators">
                <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                <li data-target="#carousel-example-generic" data-slide-to="2"></li>
                <li data-target="#carousel-example-generic" data-slide-to="3"></li>
                <li data-target="#carousel-example-generic" data-slide-to="4"></li>
            </ol>

            <!-- Wrapper for slides -->
            <div class="carousel-inner" style="text-align: center;">
                <div class="item active">
                    <?php echo $this->Html->image('/img/banners/1.jpg'); ?>
                </div>
                <div class="item">
                    <?php echo $this->Html->image('/img/banners/2.jpg'); ?>
                </div>
                <div class="item">
                    <?php echo $this->Html->image('/img/banners/3.jpg'); ?>
                </div>
                <div class="item">
                    <?php echo $this->Html->image('/img/banners/4.jpg'); ?>
                </div>
                <div class="item">
                    <?php echo $this->Html->image('/img/banners/5.jpg'); ?>
                </div>
            </div>

            <!-- Controls -->
            <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
                <i class="fa fa-arrow-left" style="margin-top: 100%;"></i>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
                <i class="fa fa-arrow-right" style="margin-top: 100%;"></i>
            </a>
        </div>

        <!-- carousel fim -->

        <!-- conteudo inicio -->
        <?php if ($this->request->url == false) {
            ?>
            <div class="fundo_noticias" >
                <div  class="max-layout">
                    <div class="col-xs-12" style="margin-top: 15px;">
                        <?php echo $this->Session->flash(); ?>        
                    </div>
                    <div class="col-xs-12">
                        <?php echo $this->fetch("content"); ?>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
            <?php
        } else {
            ?>
            <div>
                <div  class="max-layout">
                    <div class="col-xs-12" style="margin-top: 15px;">
                        <?php echo $this->Session->flash(); ?>        
                    </div>
                    <div class="col-xs-12">
                        <?php echo $this->fetch("content"); ?>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
            <?php }
        ?>


        <div class="clearfix"></div>
        <!-- conteudo fim -->
        <footer>
            <div class="col-xs-12 linha_1">
                <div class="row max-layout">
                    <div class="col-xs-12 col-md-7">
                        <ul class="menu_footer">
                            <li><?php echo $this->Html->link('Home', '/'); ?></li>
                            <li><?php echo $this->Html->link('Institucional', '/institucional'); ?></li>
                            <li><?php echo $this->Html->link('Atuação / Serviços', '/servicos'); ?></li>
                            <li><?php echo $this->Html->link('Notícias', '/noticias'); ?></li>
                            <li><?php echo $this->Html->link('Cases', '/cases'); ?></li>
                            <li><?php echo $this->Html->link('Contato', '/contato'); ?></li>
                            <li><?php echo $this->Html->link('Restrito', '/restritos'); ?></li>
                        </ul>
                        <br />
                        <div class="col-xs-12" style="padding-left: 15px; padding-bottom: 20px;">
                            <form action="/boletins/boletins/enviar" class="" role="form" id="ConteudoPaginasForm" method="post" accept-charset="utf-8">
                                <div style="display:none;">
                                    <input type="hidden" name="_method" value="POST"/>
                                </div>
                                <input type="hidden" name="data[Boletim][redirect]" class="form-control" role="form" value="http://bramontagens.com.br/" id="BoletimRedirect"/>
                                <input type="hidden" name="data[Boletim][exibir]" class="form-control" role="form" value="1" id="BoletimExibir"/>
                                <input type="hidden" name="data[Boletim][status]" class="form-control" role="form" value="1" id="BoletimStatus"/>
                                <div class="col-xs-12 col-md-5" style="padding-left: 0px; padding-right: 10px;">
                                    <div class="input text"><input name="data[Boletim][nome]" class="form-control" role="form" required="required" placeholder="Nome:" type="text" id="BoletimNome"/>
                                    </div>
                                </div>
                                <div class="col-xs-12 col-md-5" style="padding-left: 0px; padding-right: 10px;">
                                    <div class="input email"><input name="data[Boletim][email]" class="form-control" role="form" placeholder="Email:" type="email" id="BoletimEmail"/></div>
                                </div>
                                <div class="col-xs-2 col-md-2" style="padding-left: 0px; padding-right: 10px;">
                                    <button name="Enviar" label="Enviar" class="btn btn-black" form="ConteudoPaginasForm" type="submit">Enviar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-check"></i></button>
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="col-xs-12 col-md-3" style="padding-top: 30px; text-align: right;">
                        Rua Marcos Markarian, 1.025 &ndash; Sala 404<br />
                        Jd. Nova Aliança<br />
                        Ribeirão Preto – SP, CEP 14026-583<br />
                        Telefone: (16) – 3235.3246 / 3235.3193
                    </div>
                    <div class="col-xs-12 col-md-2" style="padding-top: 25px;">

                        <section id="acompanhenos">Acompanhe-nos</section>
                        <section id="container">
                            <!-- Style 2 -->
                            <div id="menu-wrap">
                                <div class="menu-item">
                                    <span id="active" class="icon fa fa-facebook" style="display: block;"></span>
                                    <a id="hover" class="text" href="https://www.facebook.com/bra.montagens"><i class="fa fa-facebook"></i></a>
                                </div><!-- Menu Item -->
                                <div class="menu-item">
                                    <span id="active" class="icon fa fa-linkedin" style="display: block;"></span>
                                    <a id="hover" class="text" href="http://www.linkedin.com/company/bra-montagens"><i class="fa fa-linkedin"></i></a>
                                </div><!-- Menu Item -->

                                <div class="menu-item">
                                    <span id="active" class="icon fa fa-rss"></span>
                                    <a id="hover" class="text" href="/rss.xml"><i class="fa fa-rss"></i></a>
                                </div><!-- Menu Item -->

                            </div><!-- Menu Wrap -->
                        </section>

                    </div>

                    <div class="col-xs-12 col-md-7">
                    </div>
                </div>
            </div>
            <div class="col-xs-12 linha_2">
                <div class="row max-layout">
                    <div class="col-xs-12 col-md-8">
                        2014 - Todos os direitos reservados - BRA Montagens
                    </div>
                    <div class="col-xs-12 col-md-4" style="text-align: right;">
                        <a href="http://www.agenciavoxel.com.br" target="_blank">
                            <img src="http://agenciavoxel.com.br/images/logo_agenciavoxel.png" style="margin-top: -2px;" alt="" />
                        </a>
                    </div>
                </div>

            </div>
        </footer>
        <?php
        echo $this->Html->script(array(
            '/js/jquery-1.11.1.min.js',
            '/bootstrap-3.2.0-dist/js/bootstrap.min.js',
            '/colorbox-master/jquery.colorbox-min.js',
            '/jquery.bxslider/jquery.bxslider.min.js',
            '/js/jjquery.easing.1.3.js',
            '/jquery-easy-ticker-master/jquery.easy-ticker.min.js',
            '/js/bra.js'
        ));
        ?>
    </body>
</html>
